<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var maxValue = Math.max(105,123,612,36,123,6121);
        var minValue = Math.min(105,123,612,36,123,-15);
         console.log(maxValue)
         console.log(minValue)
    </script>
</head>
<body>
    
</body>
</html>